package com.itheima.dubbo.interfaces;

import com.itheima.commons.model.mongo.Log;

import java.util.List;

/**
 * @Auther: alongchan
 * @Date: 2021/12/21 14:10
 * @Description:
 */
public interface LogApi {
    //查询用户登录日志
    List<Log> findUserLogRecord(Integer page, Integer pageSize, Long userId);

    //用户登录
    void add(Log log);
}
